﻿using System;
using System.Collections.Generic;
using System.Text;

namespace MES.DataGateway.SyncEntity
{
    public class DataEntity
    {
        public DataEntity() { }
        public DataEntity( string strFieldName,string strFieldType,object objFieldValue,string strFieldVersion) {
            m_FieldName = strFieldName;
            m_FieldValue = objFieldValue;
            m_FieldType = strFieldType;
            m_FileldVersion = strFieldVersion;
        }


        private int m_IndexNo = 0;

        public int IndexNo
        {
            get { return m_IndexNo; }
            set { m_IndexNo = value; }
        }

        private Object m_FieldValue = "";

        public Object FieldValue
        {
            get { return m_FieldValue; }
            set { m_FieldValue = value; }
        }
        private string m_FieldName = "";

        public string FieldName
        {
            get { return m_FieldName; }
            set { m_FieldName = value; }
        }
        private string m_FieldType = "";

        public string FieldType
        {
            get { return m_FieldType; }
            set { m_FieldType = value; }
        }
        private string m_FileldVersion = "";

        public string FileldVersion
        {
            get { return m_FileldVersion; }
            set { m_FileldVersion = value; }
        }

        //add:Wangjh 2018/10/8 增加工序分厂
        private string m_SpecFactoryCode = "";

        public string SpecFactoryCode
        {
            get { return m_SpecFactoryCode; }
            set { m_SpecFactoryCode = value; }
        }
        //
        //add:Wangjh 20181207 增加是否子工艺序
        private Boolean  m_IsSubStep = false ;

        public Boolean  IsSubStep
        {
            get { return m_IsSubStep; }
            set { m_IsSubStep = value; }
        }
        //
        //add:Wangjh 20181207 增加父工艺号
        private string m_FaMeopNo = "";

        public string FaMeopNo
        {
            get { return m_FaMeopNo; }
            set { m_FaMeopNo = value; }
        }
        //
        //add:Wangjh 20181227 增加item_id
        private string m_Item_ID = "";

        public string Item_ID
        {
            get { return m_Item_ID; }
            set { m_Item_ID = value; }
        }
        //
    }
}
